﻿using CardPlay.Model.CardModel;

namespace CardPlay.Model.GameModel.Actions
{
    public abstract class CardAction : GameAction
    {
        protected CardAction(CardGame cardGame, PartLocation cardLocation) : base(cardGame, cardLocation)
        {
        }
        
        public Card Card
        {
            get { return CardGame.CardAt(Location); }
        }
    }
}
